﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data;
using System.Data.SqlClient;
using PropertyManagement.Core.Model;
namespace PropertyManagement.Core.DataAccess {
    public static class MappingDataAccess {
        public static void AddBillInstrumentMapping(int billID, int instrumentRecordID) {
            var sql = "insert into dbo.BillInstrumentMapping values ( @billID,@instrumentRecordID)";
            var paramList = new SqlParameter[] {
							new SqlParameter("billID",billID),
							new SqlParameter("instrumentRecordID",instrumentRecordID),
						
                        };
            SqlServerHelper.ExecuteNonQuery(SqlServerHelper.ConnectionString, CommandType.Text, sql, paramList); 
        }
    }
}
